package edu.mse.camel.client.events.server;

import edu.mse.camel.client.events.AbstractEvent;
import edu.mse.camel.client.events.EventIDs;
import edu.mse.camel.client.events.IEvent;

public class JoinSessionEvent extends AbstractEvent implements IEvent{

	private long sessionId;
	private boolean isPlayback;

	public long getSessionId() {
		return sessionId;
	}

	public JoinSessionEvent(long sessionId) {
		super();
		this.sessionId = sessionId;
		this.isPlayback = false;
	}

	@Override
	public String getEventID() {
		// TODO Auto-generated method stub
		return EventIDs.JOINSESSION_EVENT;
	}

	public boolean isPlayback() {
		return isPlayback;
	}

	public void setPlayback(boolean isPlayback) {
		this.isPlayback = isPlayback;
	}
	
	
}
